package com.cinc.ebc.quote.product.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.UnsupportedEncodingException;

/**
 * @Description: 报价产品明细
 * @Author: jeecg-boot
 * @Date:   2023-03-22
 * @Version: V1.0
 */
@ApiModel(value="quote_product_detail对象", description="报价产品明细")
@Data
@TableName("quote_product_detail")
public class QuoteProductDetail implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**主表ID*/
    @ApiModelProperty(value = "主表ID")
    private java.lang.String mainId;
	/**物料*/
	@Excel(name = "物料", width = 15)
    @ApiModelProperty(value = "物料")
    private java.lang.String materialId;
	/**物料编码*/
	@Excel(name = "物料编码", width = 15)
    @ApiModelProperty(value = "物料编码")
    private java.lang.String materialCode;
	/**物料描述*/
	@Excel(name = "物料描述", width = 15)
    @ApiModelProperty(value = "物料描述")
    private java.lang.String materialDesc;
	/**生产厂家*/
	@Excel(name = "生产厂家", width = 15)
    @ApiModelProperty(value = "生产厂家")
    private java.lang.String materialFactory;
	/**单位*/
	@Excel(name = "单位", width = 15, dictTable = "mdm_unit", dicText = "unit_name", dicCode = "unit_code")
    @ApiModelProperty(value = "单位")
    private java.lang.String unit;
	/**数量*/
	@Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
    private java.math.BigDecimal qty;
	/**单价*/
	@Excel(name = "单价", width = 15)
    @ApiModelProperty(value = "单价")
    private java.math.BigDecimal unitPrice;
	/**总价*/
	@Excel(name = "总价", width = 15)
    @ApiModelProperty(value = "总价")
    private java.math.BigDecimal sumPrice;
	/**成本单价*/
	@Excel(name = "成本单价", width = 15)
    @ApiModelProperty(value = "成本单价")
    private java.math.BigDecimal costUnitPrice;
	/**折扣系数*/
	@Excel(name = "折扣系数", width = 15)
    @ApiModelProperty(value = "折扣系数")
    private java.math.BigDecimal discountFactor;
	/**成本总价*/
	@Excel(name = "成本总价", width = 15)
    @ApiModelProperty(value = "成本总价")
    private java.math.BigDecimal costSumPrice;
	/**表价*/
	@Excel(name = "表价", width = 15)
    @ApiModelProperty(value = "表价")
    private java.math.BigDecimal tablePrice;
	/**报出系数*/
	@Excel(name = "报出系数", width = 15)
    @ApiModelProperty(value = "报出系数")
    private java.math.BigDecimal quoteFactor;
    /**单台数量*/
    @Excel(name = "单台数量", width = 15)
    @ApiModelProperty(value = "单台数量")
    private java.math.BigDecimal subQty;
    /**单台总价*/
    @Excel(name = "单台总价", width = 15)
    @ApiModelProperty(value = "单台总价")
    private java.math.BigDecimal subSumPrice;
    /**单台成本总价*/
    @Excel(name = "单台成本总价", width = 15)
    @ApiModelProperty(value = "单台成本总价")
    private java.math.BigDecimal subCostSumPrice;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**租户*/
	@Excel(name = "租户", width = 15)
    @ApiModelProperty(value = "租户")
    private java.lang.Integer tenantId;
}
